package com.ozo.boot.manage.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用户密码修改对象
 *
 * @author qiangesoft
 * @date 2024-10-29
 */
@Schema(description = "用户密码修改对象")
@Data
@NoArgsConstructor
public class UserPasswordDTO {

    @NotBlank(message = "当前密码不能为空")
    @Schema(description = "当前密码")
    private String password;

    @NotBlank(message = "新密码不能为空")
    @Schema(description = "新密码")
    private String newPassword;

    @NotBlank(message = "新密码确认不能为空")
    @Schema(description = "新密码确认")
    private String confirmNewPassword;

}
